<?php
@session_start();
//require '../execute/auth.php';
require_once('../../inc/config.inc');

$link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD);
if(!$link) {
	die('Failed to connect to server: ' . mysql_error());
}

//Select database
$db = mysql_select_db(DB_DATABASE);
if(!$db) {
	die("Unable to select database");
}
$id=$_SESSION['SESS_USER_ID'];
$q= mysql_query("SELECT * FROM users WHERE id=$id");
$pro = mysql_fetch_array($q);


?>
<!DOCTYPE div PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<link rel="stylesheet" href="../../assets/css/profile.css"
	type="text/css" />
<link href='../../assets/favicon-6c3a39685626012e7563512c4da1ad9a.ico'
	rel='shortcut icon' />
<link rel="stylesheet" href="../../assets/css/bootstrap.css"
	type="text/css" />
<link rel="stylesheet" href="../../assets/css/bootstrap-responsive.css"
	type="text/css" />
<link rel="stylesheet" href="../../assets/css/font-awesome.css"
	type="text/css" />



</head>

<body>
	<div class="container-fluid">

		<div class="row-fluid">
			<div class="span12">

				<div class="row-fluid" style="margin-top: 20px">
					<div class="navbar navbar-inverse navbar-fixed-top">
						<div class="navbar-inner" style="border-radius: 0">
							<div class="container-fluid">
								<a class="brand" href="index.html">Dashboard</a> <a
									class="btn btn-navbar" data-toggle="collapse"
									data-target=".nav-collapse"> <span class="icon-bar"></span> <span
									class="icon-bar"></span> <span class="icon-bar"></span> </a> <a
									class="brand" href="index.php" name="top"><i class="icon-home"></i>
								</a>
								<div class="nav-collapse collapse">
									<ul class="nav">
										<li class="active"></li>
										<li class="divider-vertical"></li>
										<li><a href="messages.html"><i class="icon-comments-alt"></i>&nbsp;&nbsp;Messages&nbsp;&nbsp;<span
												class="label label-important">4 new</span> </a></li>
										<li class="divider-vertical"></li>
										<li class="dropdown"><a href="#" data-toggle="dropdown"
											class="dropdown-toggle"><i class="icon-bullhorn"></i>&nbsp;&nbsp;Latest
												activity&nbsp;&nbsp;<span class="label label-important">6</span>
										</a>
											<ul class="dropdown-menu">
												<li><a href="#"><i class="icon-comment"></i>New comment<span
														class="time">24 mins ago</span> </a></li>
												<li><a href="#"><i class="icon-envelope-alt"></i>New message<span
														class="time">50 mins ago</span> </a></li>
												<li><a href="#"><i class="icon-user"></i>User registration<span
														class="time">17 hours ago</span> </a></li>
												<li><a href="#"><i class="icon-lock"></i>User logged in<span
														class="time">1 day ago</span> </a></li>
												<li><a href="#"><i class="icon-lock"></i>User signed in<span
														class="time">2 days ago</span> </a></li>
												<li><a href="#"><i class="icon-trash"></i>User deleted
														account<span class="time">5 days ago</span> </a></li>
												<li><hr> <a class="dropdown-menu-footer"> <span
														class="footer"><i class="icon-eye-open"></i>&nbsp;&nbsp;View
															all activity</span> </a>
												</li>
											</ul>
										</li>
										<li class="divider-vertical"></li>
										<li class="dropdown"><a href="#" data-toggle="dropdown"
											class="dropdown-toggle"><i class="icon-cloud"></i>&nbsp;&nbsp;Admin&nbsp;&nbsp;
										</a>
											<ul class="dropdown-menu">
												<li><a href="user-account.html"><i class="icon-file"></i>&nbsp;&nbsp;User
														information</a></li>
												<li><a href="password.html"><i class="icon-key"></i>&nbsp;&nbsp;Change
														Password</a></li>
											</ul>
										</li>

										<li><a href="#"><i class="icon-archive"></i>&nbsp;&nbsp;Materials&nbsp;&nbsp;</a>
										</li>

										<li><a href="#"><i class="icon-edit"></i>&nbsp;Solutions</a></li>
									</ul>
									<ul class="nav pull-right">
										<li><a href="../../execute/logout.php"><i class="icon-signout"></i>&nbsp;Sign
												Out!</a></li>

										<li class="dropdown active"><a class="dropdown-toggle"
											href="#" data-toggle="dropdown"><i class=" icon-unlock"></i>&nbsp;Logged
												in as: <?php echo $_SESSION['SESS_MEMBER_EMAIL']; ?> <strong
												class="caret"></strong> </a>
											<ul class="dropdown-menu">
												<li><a href="#"><i class="icon-edit"></i>&nbsp;My Account</a>
												</li>
												<li><a href="#"><i class="icon-cog"></i>&nbsp;Account
														Settings</a></li>
												<li class="divider"></li>
												<li><a href="../execute/logout.php"><i class="icon-signout"></i>&nbsp;Quit</a>
												</li>
											</ul>
										</li>
									</ul>
								</div>
								<!--/.nav-collapse -->
							</div>
							<!--/.container-fluid -->
						</div>
						<!--/.navbar-inner -->
					</div>
					<!--/.navbar -->




				</div>
				<!--/row-->


			</div>
			<!--/span-->
		</div>
		<!--/row-->

				<div class="row">
					<div class="span10 well">

						<div class="row-fluid">
							<div class="span2">
								<img src="../../assets/img/sami.jpg" alt="" class="img-rounded">
							</div>
							<div class="span8">
								<blockquote>
									<p>
									
									
									<h3>
									<?php echo $pro['firstname']; ?>
									</h3>
									</p>
									<small><cite title="Source Title">Gotham, United Kingdom <i
											class="icon-map-marker"></i> </cite> </small>
								</blockquote>
								<p>
									<i class="icon-envelope"></i>
									<?php echo $pro['email_id']; ?>
									<br> <i class="icon-globe"></i> www.bootsnipp.com <br> <i
										class="icon-gift"></i> January 30, 1974<br> <i
										class="icon-male"></i> Gender <br> <i class="icon-suitcase"></i>
									Degree <br> <i class="icon-th"></i> Current Career Fields <br>
									<i class=""></i> Current Job Functions <br> <i class=""></i>
									Past Career Fields <br>
								</p>
							</div>

							<div class="span2">
								<div class="btn-group">
									<a class="btn dropdown-toggle btn-info" data-toggle="dropdown"
										href="#"> Action <span class="icon-cog icon-white"></span><span
										class="caret"></span> </a>
									<ul class="dropdown-menu">
										<li><a href="../execute/edit_profile.php"><span
												class="icon-wrench"></span> Edit Profile</a></li>
										<li><a href="delete_profile.php"><span class="icon-trash"></span>
												Delete</a></li>
									</ul>
								</div>
							</div>
						</div>


					</div>


					<div class="span2 well">
						<div class="sidebar-nav">
							<ul class="nav nav-list">





								<li><a href="profile.php" rel="tooltip"
									title="Modify your Personal Data!" data-placement="left"><i
										class="icon-user"></i>&nbsp;Profie</a></li>
								<li><a href="#myModal" data-toggle="modal" rel="tooltip"
									title="Modify your Personal Data!" data-placement="left"><i
										class="icon-font"></i>&nbsp;Change Password</a></li>
								<li><a href="../execute/logout.php" rel="tooltip"
									title="Sign out while you are leaving" data-placement="left"><i
										class="icon-off"></i>&nbsp;Log Out!</a></li>

							</ul>

						</div>
					</div>
				</div>

	</div>
	<!-- / container -->
<script
	type="text/javascript" src="../../assets/js/jquery.min.js"></script>

<script
	type="text/javascript" src="../../assets/js/bootstrap.min.js"></script>
<script
	type="text/javascript" src="../../assets/js/bootstrap-popover.js"></script>
<script
	type="text/javascript" src="../../assets/js/bootstrap-tooltip.js"></script>

<?php require 'footer.php';?>

